package cn.edu.sysu.dto;

import java.util.Date;

public class IssueDto {

	public int issue_id;
	public int solution_user_id;
	int problem_id;
	int revision;
	String content;
	int issue_user_id;
	int reply_to;
	Date post_time;
	public IssueDto(int issue_id, int solution_user_id, int problem_id,
			int revision, String content, int issue_user_id, int reply_to, Date post_time) {
		super();
		this.issue_id = issue_id;
		this.solution_user_id = solution_user_id;
		this.problem_id = problem_id;
		this.revision = revision;
		this.content = content;
		this.issue_user_id = issue_user_id;
		this.reply_to = reply_to;
		this.post_time = post_time;
	}
	public IssueDto(int solution_user_id, int problem_id, int revision,
			String content, int issue_user_id, int reply_to, Date post_time) {
		super();
		this.solution_user_id = solution_user_id;
		this.problem_id = problem_id;
		this.revision = revision;
		this.content = content;
		this.issue_user_id = issue_user_id;
		this.reply_to = reply_to;
		this.post_time = post_time;
	}
	public int getIssue_id() {
		return issue_id;
	}
	public void setIssue_id(int issue_id) {
		this.issue_id = issue_id;
	}
	public int getSolution_user_id() {
		return solution_user_id;
	}
	public void setSolution_user_id(int solution_user_id) {
		this.solution_user_id = solution_user_id;
	}
	public int getProblem_id() {
		return problem_id;
	}
	public void setProblem_id(int problem_id) {
		this.problem_id = problem_id;
	}
	public int getRevision() {
		return revision;
	}
	public void setRevision(int revision) {
		this.revision = revision;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getIssue_user_id() {
		return issue_user_id;
	}
	public void setIssue_user_id(int issue_user_id) {
		this.issue_user_id = issue_user_id;
	}
	public Date getPost_time() {
		return post_time;
	}
	public void setPost_time(Date post_time) {
		this.post_time = post_time;
	}
	public int getReply_to() {
		return reply_to;
	}
	public void setReply_to(int reply_to) {
		this.reply_to = reply_to;
	}
	@Override
	public String toString() {
		return "IssueDto [issue_id=" + issue_id + ", solution_user_id="
				+ solution_user_id + ", problem_id=" + problem_id
				+ ", revision=" + revision + ", content=" + content
				+ ", issue_user_id=" + issue_user_id + ", reply_to=" + reply_to
				+ ", post_time=" + post_time + "]";
	}




}
